function  bci=bciTrainLogReg(bci,T)

idx = ismember(T.label,bci.eventsToClassify);
bci.LogReg = kneu_train_logreg(T.dat(idx,:),T.label(idx),'penalty',50);
% param.lambda=0.1;
% bci.LogReg = kneu_train_smlr(T.dat(idx,:),T.label(idx),param);
